package com.vs.wms.dao.impl;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.vs.wms.common.CommonDao;
import com.vs.wms.dao.SysFunctionDao;
import com.vs.wms.pojo.SysFunction;

public class SysFunctionDaoImpl extends CommonDao implements SysFunctionDao {

	@SuppressWarnings("unchecked")
	@Override
	public List<SysFunction> getSysFuns(SysFunction sysFun) {
		
		List<SysFunction> lstSysFuns = new ArrayList<SysFunction>();
		
		try {
			
			lstSysFuns = sqlMap.queryForList("SysFunction.getSysFunctions", sysFun);
		} catch (SQLException e) {
			
			e.printStackTrace();
		}
		return lstSysFuns;
	}
}